#! /bin/bash
# 写入内容,覆盖原有文件
cat>/usr/local/nginx/html/rm_screen_dir.sh<<EOF
#!/bin/bash

rm -rf /usr/local/nginx/html/screen_20*
EOF
chmod 777 /usr/local/nginx/html/rm_screen_dir.sh